package com.bz.dto;

import com.bz.vo.CartItemVo;

import java.io.Serializable;
import java.util.Map;

public class CartDto implements Serializable {
    private static final long serialVersionUID = -315141076959768360L;

    private Long userId;

    private Map<String,CartItemVo> cartItemVoMap;

    public CartDto() {
    }

    public CartDto(Long userId, Map<String, CartItemVo> cartItemVoMap) {
        this.userId = userId;
        this.cartItemVoMap = cartItemVoMap;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Map<String, CartItemVo> getCartItemVoMap() {
        return cartItemVoMap;
    }

    public void setCartItemVoMap(Map<String, CartItemVo> cartItemVoMap) {
        this.cartItemVoMap = cartItemVoMap;
    }

    @Override
    public String toString() {
        return "CartDto{" +
                "userId=" + userId +
                ", cartItemVoMap=" + cartItemVoMap +
                '}';
    }
}
